package lab02.test07;
public class Test {
    public static void main(String[] args) {
        Person li=new Person();
        li.name="lixian";
        li.age=20;
        li.idcard="510532199701189816";
        System.out.println(li.getString());
        Student zhen=new Student();
        zhen.name="zhenlan";
        zhen.age=20;
        zhen.idcard="511525199708564329";
        zhen.sno="1606101154";
        zhen.university="sctu";
        System.out.println(zhen.getString());
    }
}
